package com.aloda.service;

import com.aloda.entity.LoginLog;
import com.aloda.query.LoginLogPageDTO;
import com.aloda.result.PageResult;
import com.aloda.vo.LoginLogVO;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletResponse;

import java.util.List;

/**
* @author aloda
* @description 针对表【login_log】的数据库操作Service
* @createDate 2024-12-18 18:28:40
*/
public interface LoginLogService extends IService<LoginLog> {

    /**
     * 分页查询
     * @param loginLogPageDTO
     * @return
     */
    PageResult<LoginLogVO> pageQuery(LoginLogPageDTO loginLogPageDTO);

    /**
     * 导出登录日志信息到Excel
     * @param response
     * @param ids
     */
    void exportLoginLogToExcel(HttpServletResponse response, List<Long> ids);
}
